<?php
defined('PHP5_PHP') or die("Application is stopping!!!");

$php5Config['db_type'] = 'mysql';


$php5Config['db_name_comon'] = 'uaconsul_motul_common';
$php5Config['db_name_en'] = 'uaconsul_motul_en';
$php5Config['db_host'] = 'localhost';
$php5Config['db_name'] = 'motul';
$php5Config['db_user'] = 'root';
$php5Config['db_pass'] = 'root';

$php5Config['table_prefix'] = "tbl_";

//global $php5RootPath, $php5_absolute_path, $php5_ex;
$php5WebPath 		= 'http://localhost:8080/motul';
$php5WebPathAD 		= 'http://localhost:8080/motul/insite';
$php5RootPath		= 'D:/AppServ/www/motul';
$php5RootAdminPath        = 'D:/AppServ/www/motul/insite';
$php5TemplateAdminPath    = 'D:/AppServ/www/motul/insite/templates';
$php5ImagePath						= 'D:/AppServ/www/motul/images';
$php5TemplateAdminFile    = 'D:/AppServ/www/motul/insite/templates/%s/%s/%s';
$php5RootAdminTempalteCPath		= 'D:/AppServ/www/motul/insite/templates_c/%s';

$php5_image_template_path	= 'C:\apache2triad\htdocs\motul';

$php5_sef            = true;
$php5_gzip            = true;

define('PHP5PHP_INSTALLED', true);

/*
defined('PHP5_PHP') or die("Application is stopping!!!");

$php5Config['db_type'] = 'mysql';

$php5Config['db_host'] = 'localhost';
//$php5Config['db_name_comon'] = 'uaconsul_motul_common';
//$php5Config['db_name_en'] = 'uaconsul_motul_en';
$php5Config['db_name_comon'] = 'uaconsul_motul';
$php5Config['db_name_en'] = 'uaconsul_motul';
$php5Config['db_name'] = 'uaconsul_motul';
$php5Config['db_user'] = 'uaconsul_motul';
$php5Config['db_pass'] = ',}Nm}7D{75#D';

$php5Config['table_prefix'] = "tbl_";

//global $php5RootPath, $php5_absolute_path, $php5_ex;
$php5_ex 			= ".php";
$php5SiteName 		= 'malaysia.propertydirect.com.sg';
$php5Keywords 		= 'malaysia.propertydirect.com.sg';
$php5Desc			= 'malaysia.propertydirect.com.sg';
$php5WebPath 		= 'http://www.ua-consultants.com/motul';
$php5WebPathAD 		= 'http://www.ua-consultants.com/motul/insite';
$php5RootPath		= '/home3/uaconsul/public_html/motul';
$php5RootAdminPath        = '/home3/uaconsul/public_html/motul/insite';
$php5TemplateAdminPath    = '/home3/uaconsul/public_html/motul/templates/insite';
$php5ImagePath		= '/home3/uaconsul/public_html/motul/images';
$php5_image_template_path	= '/home3/uaconsul/public_html/motul';
$php5RootAdminTempalteCPath		= '/home3/uaconsul/public_html/motul/insite/templates_c/%s';
$php5TemplateAdminFile    = '/home3/uaconsul/public_html/motul/insite/templates/%s/%s/%s';
$php5TemplateImg    = $php5WebPath .'/templates/%s/%s';
$php5TemplateFile    = '/home3/uaconsul/public_html/motul/templates/%s/%s/%s';


$php5_sef            = true;
$php5_gzip            = true;


define('PHP5PHP_INSTALLED', true);

CREATE TABLE `tbl_users` (
  `id` int(11) unsigned NOT NULL auto_increment,
  `name` varchar(255) default NULL,
  `designation` varchar(255) default NULL,
  `unit` varchar(20) default NULL,
  `telephone` varchar(20) default NULL,
  `phone` varchar(20) default NULL,
  `email` varchar(255) default NULL,
  `password` varchar(255) default NULL,
  `image` varchar(50) default NULL,
  `remarks` text,
  `type_id` tinyint(1) unsigned default '3' COMMENT '1-Administrator;2-Managers;3-Workshops',
  `status` tinyint(1) unsigned default '1',
  `is_image` tinyint(1) unsigned default '0',
  PRIMARY KEY  (`id`)
) ENGINE=FEDERATED
CONNECTION='mysql://root:root@localhost:3306/uaconsul_motul_common/tbl_users';

CREATE TABLE `tbl_dealers` (
  `id` int(11) unsigned NOT NULL auto_increment,
  `dealer_code` varchar(100) default NULL,
  `firstname` varchar(255) default NULL,
  `lastname` varchar(255) default NULL,
  `fullname` varchar(255) default NULL,
  `NRIC` varchar(255) default NULL,
  `segment_id` tinyint(1) default '0',
  `type_id` tinyint(1) unsigned default '0',
  `location` varchar(255) default NULL,
  `location_link` varchar(255) default NULL,
  `country_id` varchar(5) default '0',
  `photo` varchar(50) default NULL,
  `parent_id` int(11) unsigned default '0',
  `user_id` int(11) unsigned default '0',
  `contact1_firstname` varchar(255) default NULL,
  `contact1_lastname` varchar(255) default NULL,
  `contact1_tel` varchar(255) default NULL,
  `contact1_handphone` varchar(255) default NULL,
  `contact1_email` varchar(255) default NULL,
  `contact2_firstname` varchar(255) default NULL,
  `contact2_lastname` varchar(255) default NULL,
  `contact2_tel` varchar(255) default NULL,
  `contact2_handphone` varchar(255) default NULL,
  `contact2_email` varchar(255) default NULL,
  `contact3_firstname` varchar(255) default NULL,
  `contact3_lastname` varchar(255) default NULL,
  `contact3_tel` varchar(255) default NULL,
  `contact3_handphone` varchar(255) default NULL,
  `contact3_email` varchar(255) default NULL,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `dealer_idx` (`id`),
  UNIQUE KEY `user_dealer_idx` USING BTREE (`dealer_code`)
) ENGINE=FEDERATED
CONNECTION='mysql://root:root@localhost:3306/uaconsul_motul_common/tbl_dealers';*/


?>